package top.huhuiyu.springboot3.controller;


import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import top.huhuiyu.springboot3.base.R;

@RestController
public class IndexController {

    @GetMapping("/")
    public R<String> index() {
        return R.ok("欢迎使用胡辉煜的后端接口");
    }

}
